import 'package:flutter/material.dart';
import 'package:oster_cigarette/router/pages.dart';
import 'package:oster_cigarette/pages/login/login_page.dart';
import 'package:oster_cigarette/pages/home/home_page.dart';
/// do not modify this is auto code, please see config_page.dart
Route<dynamic>? getUserRoute(RouteSettings settings, buildRoute) {
  switch (settings.name) {
    case Pages.login_page:
      return buildRoute(settings, const LoginPage());
    case Pages.home_page:
      return buildRoute(settings, const HomePage());

    default:
      return null;
  }
}